package com.ashley.day_10;

/**
 * @Author ashley
 * @Date 2019/8/5 16:36
 */
public class Student1 {
    String name;
    int age;
    String school;
    String major;

    public Student1(String n, int a) {
        name = n;
        age = a;
//        System.out.println("name:" + name + ",age:" + age);
    }

    public Student1(String n, int a, String s) {
        name = n;
        age = a;
        school = s;
//        System.out.println("name:" + name + ",age:" + age + ",school:" + school);
    }

    public Student1(String n, int a, String s, String m) {
        name = n;
        age = a;
        school = s;
        major = m;
//        System.out.println("name:" + name + ",age:" + age + "school:" + school + ",major:" + major);
    }

}
